#ifndef _RENDERPIPLINE_H
#define _RENDERPIPLINE_H

#include <list>

namespace TG
{
	class Graphics;
	class Camera;
	class Renderer;

	class RenderPipline
	{
	private:
		Camera* _camera;
		std::list<Renderer*> renders;

		Graphics* _graphics;
	public:
		RenderPipline(Graphics* graphics);

		~RenderPipline();

		void push(Renderer* render);

		void setGraphics(Graphics* graphics);

		void setCamera(Camera* camera);

		void render();

		void clear();
	};
}
#endif // !_RENDERPIPLINE_H
